export default {
    install(Vue: any) {
        let allCom = import.meta.globEager('./base/**/*.vue') as any
        Object.keys(allCom).forEach((item, index) => {
            Vue.component(
                _.last(
                    item
                        .replace(/\.\//, '')
                        .replace(/\.vue$/, '')
                        .split('/')
                ),
                allCom[item].default
            )
        })
    }
}